<?php
	require "../dao/staff_dao.php";
	
	$collegeid = $_POST["collegeid"];
	$gradeid = $_POST["gradeid"];
	$classid = $_POST["classid"];
	
	$students = selectStuInforBycolAndgraAndcla($collegeid,$gradeid,$classid);
	
	if($students){
		session_start();
		$_SESSION["student"] = $students;
?>
		<script type="text/javascript">
			location.href = "selectStu_mark_information.php";
		</script>
<?php
	}else{
?>
		<script type="text/javascript">
			alert("查询失败,请选择正确信息。。。。");
			location.href = "selectStu_mark_infor.php";
		</script>
<?php
	}
?>